#!/usr/bin/python

import os
import sys

out_folder = "../servers_out/"


if len(sys.argv) < 2 : 
	print 'Usage : Enter the server name'
	sys.exit(1)

server_name = sys.argv[1]

cmd = "./server_"  + server_name + " 1234 " + out_folder + server_name + ".log > " + out_folder + server_name + ".out" 
print cmd
os.system(cmd)

